From d735e66dc84363d221b01a60a0e5b9d96f9cc464 Mon Sep 17 00:00:00 2001 From: "sos22@labyrinth.cl.cam.ac.uk" Date: Mon, 7 Jul 2003 15:11:35 +0000 Subject: [PATCH] bitkeeper revision 1.291 (3f098da7GHKu8C68q5phZ9RCpFlhhw) Fix some warnings. --- xenolinux-2.4.21-sparse/fs/partitions/xeno.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xenolinux-2.4.21-sparse/fs/partitions/xeno.c b/xenolinux-2.4.21-sparse/fs/partitions/xeno.c index 2ddc71b4d1..dfd04d0c0c 100644 --- a/xenolinux-2.4.21-sparse/fs/partitions/xeno.c +++ b/xenolinux-2.4.21-sparse/fs/partitions/xeno.c @@ -6,9 +6,13 @@ #include #include #include +#include +#include "check.h" #include "xeno.h" +extern int xenolinux_control_msg(int operration, char *buffer, int size); + /* Grab the physdisk partitions list from the hypervisor. */ int xeno_partition(struct gendisk *hd, struct block_device *bdev, @@ -27,7 +31,7 @@ int xeno_partition(struct gendisk *hd, buf->start_ind = 0; buf->n_aces = PHYSDISK_MAX_ACES_PER_REQUEST; - xenolinux_control_msg(XEN_BLOCK_PHYSDEV_PROBE, buf, + xenolinux_control_msg(XEN_BLOCK_PHYSDEV_PROBE, (char *)buf, sizeof(*buf)); if (buf->n_aces == 0) { kfree(buf); -- 2.30.2